package com.demo.core.context;

/**
 * 可刷新的事件模型
 * @author ryuu.kk
 *
 */
public class RefreshModel implements java.io.Serializable {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = 3490421117494287539L;
	
	/**
	 * URL资源类型
	 */
	public static final String MODEL_TYPE_URL = "URL";
	
	/**
	 * 方法资源类型
	 */
	public static final String MODEL_TYPE_METHOD = "METHOD";
	
	/**
	 * 刷新类型
	 */
	private String type;
	
	/**
	 * 站点ID
	 */
	private Long siteId;
	
	/**
	 * 事件目标对象
	 */
	private Object target;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getSiteId() {
		return siteId;
	}

	public void setSiteId(Long siteId) {
		this.siteId = siteId;
	}

	public Object getTarget() {
		return target;
	}

	public void setTarget(Object target) {
		this.target = target;
	}
}
